package com.bd.scm.domain.dto.visitorDto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/** 访客单位访问(人次)统计
 * @author YH
 * @version 1.0
 * @date 2020/12/16 15:30
 */
@Data
@ApiModel(value = "访客单位访问(人次)统计")
public class VisitorUnitDto {

    /**
     * 查询类型
     * 1 月 2 季度 3 年
     */
    @ApiModelProperty(value = "查询类型(1 月 2 季度 3 年)", dataType = "int", position = 1, required = false, example = "1")
    private int statusId;

    /**
     * 月份
     */
    @ApiModelProperty(value = "月份", dataType = "string", position = 2, required = false, example = "2020-11")
    private String month;

    /**
     * 开始月份
     */
    private String startMonth;

    /**
     * 结束月份
     */
    private String endMonth;

    /**
     * 季度id
     * 1,2,3,4对应四个季度
     */
    @ApiModelProperty(value = "季度(1,2,3,4对应四个季度)", dataType = "int", position = 3, required = false, example = "1")
    private int quarterlyId;

    /**
     * 年份
     */
    @ApiModelProperty(value = "年份", dataType = "string", position = 4, required = false, example = "2020")
    private String year;

    /**
     * 基地id
     */
    @ApiModelProperty(value = "基地id", dataType = "int", position = 5, required = false, example = "100")
    private int visitBaseId;

    /**
     * top数
     * 20,30 从多到少排序
     */
    @ApiModelProperty(value = "top数", dataType = "int", position = 6, required = false, example = "10")
    private int topValue;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id", dataType = "int", position = 7, required = false, example = "")
    private int deptId;

    /**
     * 单位名称
     */
    @ApiModelProperty(value = "单位名称", dataType = "string", position = 8, required = false, example = "")
    private String searchText;

    //获取基地区域权限
    private String placeIds;
}
